#!/bin/bash

rm -rf ./dist

[[ -f './seeyonBuild.json' ]] && cp -f ./seeyonBuild.json pc-collaboration
cd pc-collaboration && bash seeyonBuild.sh
exitCode=$?

if [[ $exitCode -ne 0 ]]; then
  echo "CAP-H5-BUILD-FAILED"
else
  echo "CAP-H5-BUILD-SUCCESS"
fi
